<template>
	<view class="invite">
		<u-navbar title="邀请好友" :title-size="35" title-color="white" :background="background" :title-bold="true"
			:immersive="true" :border-bottom="false"></u-navbar>
		<view class="title">
			邀请好友加入我们
		</view>
		<view class="subtitle">
			邀请可得优惠券
		</view>
		<view class="shell">
			<view class="shell-con">
				<image src="https://gongxiangtaiqiu.axa2.com/taiqiu/gift.png" style="width: 100%; height: 100%;"></image>
			</view>
		</view>
		<view class="vipbox">
			<view class="vip-title">
				会员福利
			</view>
			<view class="vip-subtitle">
				邀请3位好友即可获得20元优惠券
			</view>
			<view class="vip-item">
				<view class="items" v-for="item in 3">
					<view class="items-img">
						<image src="https://gongxiangtaiqiu.axa2.com/taiqiu/add.png" style="width: 100%; height: 100%;">
						</image>
					</view>
					<view class="items-p">待邀请</view>
				</view>
			</view>

		</view>
		<view class="btn">
			<view class="btn-p">
				立即邀请
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				background: {
					backgroundColor: 'rgba(0,0,0,0)'
				},


			};
		}
	}
</script>

<style lang="scss">
	page {
		background-image: url('https://gongxiangtaiqiu.axa2.com/taiqiu/invite_bg.png');
		background-repeat: no-repeat;
		background-size: 100% 100%;

	}

	.btn {
		width: 670rpx;
		height: 88rpx;
		background: linear-gradient(90deg, #8CFF80 0%, #5FFF95 100%);
		border-radius: 44rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: auto;
		margin-top: 50rpx;

		.btn-p {
			font-size: 30rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #222222;
		}
	}

	.title {
		width: 413rpx;
		height: 50rpx;
		font-size: 51rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #5DFF6C;
		margin: auto;
		margin-top: 200rpx;
	}

	.subtitle {
		width: 194rpx;
		height: 27rpx;
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
		margin: auto;
		margin-top: 50rpx;


	}

	.vipbox {
		width: 670rpx;
		height: 740rpx;
		background: #FFFFFF;
		border-radius: 24rpx;
		margin: auto;
		z-index: -1;
		position: relative;
		margin-top: -46px;

		.vip-title {
			width: 156rpx;
			height: 38rpx;
			font-size: 40rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #222222;
			margin: auto;
			padding-top: 120rpx;

		}

		.vip-subtitle {
			width: 442rpx;
			height: 29rpx;
			font-size: 30rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #222222;
			margin: auto;
			padding-top: 100rpx;
		}

		.vip-item {
			width: 520rpx;
			height: 200rpx;
			margin: auto;
			margin-top: 100rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;

			.items {
				width: 180rpx;
				height: 190rpx;
				display: flex;
				justify-content: center;
				flex-direction: column;
				align-items: center;

				.items-img {
					width: 120rpx;
					height: 120rpx;

				}

				.items-p {

					font-size: 26rpx;
					font-family: PingFang SC;
					font-weight: 500;
					color: #222222;
				}
			}

		}
	}

	.shell {
		width: 195rpx;
		height: 195rpx;
		background-color: #ffffff;
		border-radius: 50%;
		z-index: 1;
		margin: auto;
		margin-top: 66rpx;

		.shell-con {
			width: 190rpx;
			height: 190rpx;

		}

	}
</style>
